<div id="main_container">

	{$oZoneHeader}
    
    <div class="main_content">
        {$oZoneTopMenu}
        <div class="center_content">  
            <div class="left_content">
                {$oZoneLeftMenu}
            </div>
    
            <div class="right_content">
        
                <h2>Gestion des liens utiles</h2> 
                    
                    
                <table id="rounded-corner" summary="2007 Major IT Companies' Profit">
                    <thead>
                        <tr>
                            <th scope="col" class="rounded">Categories</th>
                            <th scope="col" class="rounded">Liens</th>
                            <th scope="col" class="rounded" align="center" style="padding:0 0 0 48px;">Statut</th>
                        </tr>
                    </thead>
                    <tbody>
                        {foreach $liens as $lienCategorie}
                            <tr>
                                <td>{$lienCategorie->cat_name}</td>
                                <td>
                                    <ul style="margin:0; padding:0;">
                                    {if sizeof ($lienCategorie->lien_liste)}
                                        {foreach $lienCategorie->lien_liste as $lienItem}
                                            <li style="height:20px;"><a href="{jurl 'lienUtile~BoLienUtile:editer', array('id'=>$lienItem['id'])}">{$lienItem['titre']}</a></li>
                                           
                                        {/foreach}
                                    {/if}
                                    </ul>
                                </td>
                                 <td class="ico_">
                                  <ul style="list-style-type:none">
                                    {if sizeof ($lienCategorie->lien_liste)}
                                        {foreach $lienCategorie->lien_liste as $lienItem}
                                            <li style="height:20px;">
                                                {if $lienItem['statut'] == '1'} 
                                                    {image $j_basepath.'design/back/img/ico_activer.gif',array('title'=>'Activer','alt'=>'Activer')}
                                                {else}
                                                    {image $j_basepath.'design/back/img/ico_desactiver.gif',array('title'=>'Désactiver','alt'=>'Désactiver')}
                                                {/if}
                                            </li>
                                           
                                        {/foreach}
                                    {/if}
                                    </ul>
                                 </td>
                            </tr>
                        {/foreach}
                    </tbody>
                </table>

                 <a href="{jurl 'lienUtile~BoLienUtile:editer'}" class="bt_green"><span class="bt_green_lft"></span><strong>Ajouter</strong><span class="bt_green_r"></span></a>
     
     
                <div class="pagination">
                
                </div> 
            </div><!-- end of right content-->
        </div>   <!--end of center content -->               

        <div class="clear"></div>
    </div> <!--end of main content-->
	
    
    <div class="footer">
    </div>

</div>		
